<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">

<head>
    <th:block th:include="include :: header('新增纪检监察机关立案审查调查情况登记')"/>
    <th:block th:include="include :: layout-latest-css"/>
    <style>
        .tablecss1 {
            height: 50px;
            text-align: center;
            background: #9ad4f5;
            font-family: 宋体;
            font-size: 20pt;
            font-weight: bold;
            border-left: 0.5pt solid #000;
            border-right: 0.5pt solid #000;
            border-top: 0.5pt solid #000;
            border-bottom: 0.5pt solid #000
        }

        .tablecss2 {
            background: #cfe2f3;
            text-align: center;
            align-items: center;
            font-weight: bold;
            font-family: 宋体;
            font-size: 14pt;
            color: rgb(0, 0, 0);
            border-left: 0.5pt solid rgb(0, 0, 0);
            border-right: 0.5pt solid rgb(0, 0, 0);
            border-top: 0.5pt solid #000;
            border-bottom: 0.5pt solid rgb(0, 0, 0)
        }

        .tablecss3 {
            height: 25px;
            text-align: center;
            align-items: center;
            font-family: 宋体;
            font-size: 14pt;
            color: rgb(0, 0, 0);
            border-left: 0.5pt solid rgb(0, 0, 0);
            border-right: 0.5pt solid rgb(0, 0, 0);
            border-bottom: 0.5pt solid rgb(0, 0, 0);
            border-top: 0.5pt solid #000
        }

        .tablecss4 {
            text-align: center;
            align-items: center;
            font-family: 宋体;
            color: rgb(0, 0, 0);
            border-left: 0.5pt solid rgb(0, 0, 0);
            border-right: 0.5pt solid rgb(0, 0, 0);
            border-top: 0.5pt solid #000;
            border-bottom: 0.5pt solid rgb(0, 0, 0)
        }

        .tablecss5 {
            align-items: center;
            font-family: 宋体;
            color: rgb(0, 0, 0);
            border-left: 0.5pt solid rgb(0, 0, 0);
            border-right: 0.5pt solid rgb(0, 0, 0);
        }

        .tablecss6 {
            align-items: center;
            font-family: 宋体;
            color: rgb(0, 0, 0);
            border-left: 0.5pt solid rgb(0, 0, 0);
            border-right: 0.5pt solid rgb(0, 0, 0);
            border-bottom: 0.5pt solid rgb(0, 0, 0)
        }

        .tablecss7 {
            height: 50px;
            background: #cfe2f3;
            text-align: center;
            align-items: center;
            font-weight: bold;
            font-family: 宋体;
            font-size: 14pt;
            color: rgb(0, 0, 0);
            border-left: 0.5pt solid rgb(0, 0, 0);
            border-right: 0.5pt solid rgb(0, 0, 0);
            border-top: 0.5pt solid #000;
            border-bottom: 0.5pt solid rgb(0, 0, 0)
        }

        .inputcss1 {
            width: 100%;
            text-align: center;
            border: none;
            font-family: 宋体;
            font-size: 14pt;
        }

        .inputcss2 {
            height: 61px;
            width: 100%;
            border: none;
            font-family: 宋体;
            font-size: 14pt;
        }
    </style>
</head>

<body class="white-bg">
<div class="ui-layout-west">
    <div class="box box-main">
        <div class="box-header">
            <div class="box-title">
                <i class="fa icon-grid"></i> 被反应人
            </div>
        </div>
        <div class="ui-layout-content">
            <div id="tree">
                <p style="margin-left: 20px;" th:each="workTemplateTable: ${workTemplateTableList}">
                    <a th:onclick="'fill_in_edit(' + ${workTemplateTable.id} + ');'"
                       th:text="${workTemplateTable.val4}"></a>
                </p>
            </div>
        </div>
    </div>
</div>

<div class="ui-layout-center">
    <div class="container-div" id="fragment-template">
        <div class="row" th:fragment="fragment-template">
            <form class="form-horizontal m" id="form-templatetable9-add">
                <table data-type="luckysheet_copy_action_table">
                    <colgroup width="125px"></colgroup>
                    <colgroup width="151px"></colgroup>
                    <colgroup width="200px"></colgroup>
                    <colgroup width="144px"></colgroup>
                    <colgroup width="95px"></colgroup>
                    <colgroup width="72px"></colgroup>
                    <colgroup width="108px"></colgroup>
                    <colgroup width="103px"></colgroup>
                    <colgroup width="72px"></colgroup>
                    <colgroup width="106px"></colgroup>
                    <tr>
                        <td rowspan="1" colspan="10" class="tablecss1">宜宾市纪委监委信访举报转办件办理情况反馈表</td>
                    </tr>
                    <tr>
                        <input id="progressId" name="workProgress.progressId" th:value="${progressId}" type="hidden">
                        <input type="hidden" id="id" name="workTemplateTable9.id" th:value="${workTemplateTable9.id}">
                        <td rowspan="5" colspan="1" class="tablecss2">基础信息</td>
                        <td class="tablecss2">信访编号</td>
                        <td rowspan="1" colspan="2" class="tablecss3"><input name="workTemplateTable9.val1"
                                                                             th:value="${workTemplateTable9.val1}"
                                                                             class="form-control  inputcss1" readonly>
                        </td>
                        <td class="tablecss2">转办单号</td>
                        <td rowspan="1" colspan="2" class="tablecss3"><input name="workTemplateTable9.val2"
                                                                             th:value="${workTemplateTable9.val2}"
                                                                             class="form-control  inputcss1" readonly>
                        </td>
                        <td class="tablecss2">接收时间</td>
                        <td rowspan="1" colspan="2" class="tablecss3"><input name="workTemplateTable9.val3"
                                                                             th:value="${workTemplateTable9.val3}"
                                                                             class="form-control  inputcss1" readonly>
                        </td>
                    </tr>
                    <tr>
                        <td rowspan="2" colspan="1" class="tablecss2">被反映人姓名</td>
                        <td rowspan="2" colspan="1" class="tablecss3"><input name="workTemplateTable9.val4"
                                                                             th:value="${workTemplateTable9.val4}"
                                                                             class="form-control inputcss2" readonly>
                        </td>
                        <td class="tablecss2">单位</td>
                        <td rowspan="1" colspan="6" class="tablecss3"><input name="workTemplateTable9.val5"
                                                                             th:value="${workTemplateTable9.val5}"
                                                                             class="form-control  inputcss1" readonly>
                        </td>
                    </tr>
                    <tr>
                        <td class="tablecss2">职务</td>
                        <td rowspan="1" colspan="3" class="tablecss3"><input name="workTemplateTable9.val6"
                                                                             th:value="${workTemplateTable9.val6}"
                                                                             class="form-control  inputcss1" readonly>
                        </td>
                        <td class="tablecss2">级别</td>
                        <td rowspan="1" colspan="2" class="tablecss3"><input name="workTemplateTable9.val7"
                                                                             th:value="${workTemplateTable9.val7}"
                                                                             class="form-control  inputcss1" readonly>
                        </td>
                    </tr>
                    <tr>
                        <td rowspan="2" colspan="1" class="tablecss2">反映人姓名</td>
                        <td rowspan="2" colspan="1" class="tablecss3"><input name="workTemplateTable9.val8"
                                                                             th:value="${workTemplateTable9.val8}"
                                                                             class="form-control inputcss2" readonly>
                        </td>
                        <td class="tablecss2">证件号码</td>
                        <td rowspan="1" colspan="3" class="tablecss3"><input name="workTemplateTable9.val9"
                                                                             th:value="${workTemplateTable9.val9}"
                                                                             class="form-control  inputcss1" readonly>
                        </td>
                        <td class="tablecss2">联系方式</td>
                        <td rowspan="1" colspan="2" class="tablecss3"><input name="workTemplateTable9.val10"
                                                                             th:value="${workTemplateTable9.val10}"
                                                                             class="form-control  inputcss1" readonly>
                        </td>
                    </tr>
                    <tr>
                        <td class="tablecss2">住址或单位地址</td>
                        <td rowspan="1" colspan="6" class="tablecss3"><input name="workTemplateTable9.val11"
                                                                             th:value="${workTemplateTable9.val11}"
                                                                             class="form-control  inputcss1" readonly>
                        </td>
                    </tr>
                    <tr>
                        <td class="tablecss7">反映问题摘录</td>
                        <td rowspan="1" colspan="9" class="tablecss3"><input name="workTemplateTable9.val12"
                                                                             th:value="${workTemplateTable9.val12}"
                                                                             class="form-control inputcss2" readonly>
                        </td>
                    </tr>
                    <tr>
                        <td rowspan="6" colspan="1" class="tablecss2">办理情况</td>
                        <td class="tablecss2">承办单位</td>
                        <td class="tablecss3"><input name="workTemplateTable9.val13"
                                                     th:value="${workTemplateTable9.val13}"
                                                     class="form-control  inputcss1" readonly></td>
                        <td class="tablecss2">调查组成员</td>
                        <td rowspan="1" colspan="3" class="tablecss3"><input name="workTemplateTable9.val14"
                                                                             th:value="${workTemplateTable9.val14}"
                                                                             class="form-control  inputcss1" readonly>
                        </td>
                        <td class="tablecss2">办结时间</td>
                        <td rowspan="1" colspan="2" class="tablecss3"><input name="workTemplateTable9.val15"
                                                                             th:value="${workTemplateTable9.val15}"
                                                                             class="form-control  inputcss1" readonly>
                        </td>
                    </tr>
                    <tr>
                        <td rowspan="3" colspan="1" class="tablecss2">办理进展或结果</td>
                        <td class="tablecss2">问题线索处置方式 </td>
                        <td rowspan="1" colspan="7" class="tablecss3"><input name="workTemplateTable9.val16"
                                                                             th:value="${workTemplateTable9.val16}"
                                                                             class="form-control  inputcss1" readonly>
                        </td>
                    </tr>
                    <tr>
                        <td class="tablecss2">调查情况</td>
                        <td rowspan="1" colspan="7" class="tablecss3"><input name="workTemplateTable9.val17"
                                                                             th:value="${workTemplateTable9.val17}"
                                                                             class="form-control  inputcss1" readonly>
                        </td>
                    </tr>
                    <tr>
                        <td class="tablecss2">处理情况</td>
                        <td rowspan="1" colspan="7" class="tablecss3"><input name="workTemplateTable9.val18"
                                                                             th:value="${workTemplateTable9.val18}"
                                                                             class="form-control  inputcss1" readonly>
                        </td>
                    </tr>
                    <tr>
                        <td class="tablecss2">回复情况</td>
                        <td rowspan="1" colspan="5" class="tablecss3"><input name="workTemplateTable9.val19"
                                                                             th:value="${workTemplateTable9.val19}"
                                                                             class="form-control  inputcss1" readonly>
                        </td>
                        <td class="tablecss2">反映人意见</td>
                        <td rowspan="1" colspan="2" class="tablecss3"><input name="workTemplateTable9.val20"
                                                                             th:value="${workTemplateTable9.val20}"
                                                                             class="form-control  inputcss1" readonly>
                        </td>
                    </tr>
                    <tr>
                        <td class="tablecss2">了结批示领导 </td>
                        <td rowspan="1" colspan="2" class="tablecss3"><input name="workTemplateTable9.val21"
                                                                             th:value="${workTemplateTable9.val21}"
                                                                             class="form-control  inputcss1" readonly>
                        </td>
                        <td class="tablecss2">批示内容</td>
                        <td rowspan="1" colspan="2" class="tablecss3"><input name="workTemplateTable9.val22"
                                                                             th:value="${workTemplateTable9.val22}"
                                                                             class="form-control  inputcss1" readonly>
                        </td>
                        <td class="tablecss2">批示时间</td>
                        <td rowspan="1" colspan="2" class="tablecss3"><input name="workTemplateTable9.val23"
                                                                             th:value="${workTemplateTable9.val23}"
                                                                             class="form-control  inputcss1" readonly>
                        </td>
                    </tr>
                    <tr>
                        <td rowspan="3" colspan="1" class="tablecss4">备注</td>
                        <td rowspan="1" colspan="9" class="tablecss5">1.填报单位为各具体承办单位；</td>
                    </tr>
                    <tr>
                        <td rowspan="1" colspan="9" class="tablecss5">2.调查组成员栏和回复情况栏的经办人须手写签名；</td>
                    </tr>
                    <tr>
                        <td rowspan="1" colspan="9" class="tablecss6">3.县（区）纪委监委及市纪委各派驻派出纪检监察机构参照上述要求执行。</td>
                    </tr>
                </table>
                <div class="row">
                    <div class="col-sm-4">
                        <div class="form-group"><label class="col-sm-4 control-label">填报单位：</label>
                            <div class="form-control-static" th:text="${workProgress.receiveDept}"></div>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group"><label class="col-sm-4 control-label">填报人：</label>
                            <div class="form-control-static" th:text="${workProgress.receiveUser}"></div>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group"><label class="col-sm-4 control-label">填报时间：</label>
                            <div class="form-control-static" th:text="${createDay}"></div>
                        </div>
                    </div>
                </div>
            </form>

        </div>
    </div>
</div>


<th:block th:include="include :: footer"/>
<th:block th:include="include :: datetimepicker-js"/>
<th:block th:include="include :: layout-latest-js"/>
<script th:inline="javascript">
    var prefix = ctx + "work/templatetable9"
    $("#form-templatetable9-add").validate({
        focusCleanup: true
    });

    // 覆盖任务填报页面
    function fill_in(progressId, rowId) {
        //time用于解决data-id重复
        let time = JSON.stringify(new Date().getTime())
        // time="+time;
        var url = ctx + "work/progress/fill_in/" + progressId + "?id=" + rowId + "&time=" + time;
        $.modal.parentTab('任务填报', url)
    }

    $(function () {
        var panehHidden = false;
        if ($(this).width() < 769) {
            panehHidden = true;
        }
        panehHidden = $("#tree").html() === undefined ? true : panehHidden
        $('body').layout({initClosed: panehHidden, west__size: 100});
        // 回到顶部绑定
        if ($.fn.toTop !== undefined) {
            var opt = {
                win: $('.ui-layout-center'),
                doc: $('.ui-layout-center')
            };
            $('#scroll-up').toTop(opt);
        }
    });

    function fill_in_edit(id) {
        var progressId = $("#progressId").val()
        var url = ctx + "work/progress/detail/" + progressId + "?id=" + id;
        $.ajax({
            type: "get",
            url: url,
            data: {
                "fragment": 'fragment-template'
            },
            success: function (data) {
                console.log(data);
                $("#fragment-template").html(data);
            }
        });
    }

</script>
</body>

</html>